package cn.lds.j367.dsbank.controller;

import cn.lds.j367.dsbank.common.dto.ResultDTO;
import cn.lds.j367.dsbank.entity.Syslog;
import cn.lds.j367.dsbank.service.impl.SyslogService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("/syslog")
public class SyslogController {

    private SyslogService syslogService;

    @RequestMapping("/showSyslog")
    public String showLog(){
        ResultDTO<List<Syslog>> listResultDTO = syslogService.selectLogAll();
        return "";
    }
}
